﻿using System;

namespace ArtemisExtensions
{
    /// <remarks>
    /// An Event is anything of significance that happens or attempts to happen
    /// Can be
    /// -System event
    /// -action taken
    /// -action wanting to be taken
    /// -request for options
    /// -
    /// etc!
    /// </remarks>
    public abstract class EV_EventHandler : ArtemisExtensions.IEventHandler
    {
        private int evCode = (int)EventCode.UNDEFINED_EVENTHANDLER;

        public int EvCode
        {
            get
            {
                return evCode;
            }
            protected set
            {
                evCode = value;
            }
        }

        public abstract bool HandleEvent(int eventcode, IEventInfo e);
        
    }
}